package com.macro.mall.mgb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 话题表
 * </p>
 *
 * @author wangwang
 * @since 2025-07-21
 */
    @Data
    @TableName("cms_topic")
    @EqualsAndHashCode(callSuper = false)
public class Topic implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id")
    private Long id;

    private Long categoryId;

    private String name;

    private Date createTime;

    private Date startTime;

    private Date endTime;

            /**
             * 参与人数
             */
    private Integer attendCount;

            /**
             * 关注人数
             */
    private Integer attentionCount;

    private Integer readCount;

            /**
             * 奖品名称
             */
    private String awardName;

            /**
             * 参与方式
             */
    private String attendType;

            /**
             * 话题内容
             */
    private String content;

    }